#pragma once
#include <regex>
#include <cpp/memory_resource.hpp>
#include "string.hpp"
namespace cpp{
	namespace pmr
	{

		template <class BidirectionalIterator>
		using match_results = std::match_results<BidirectionalIterator, polymorphic_allocator<std::sub_match<BidirectionalIterator>>>;

		typedef match_results<const char*>					cmatch;
		typedef match_results<const wchar_t*>				wcmatch;
		typedef match_results<pmr::string::const_iterator>	smatch;
		typedef match_results<pmr::wstring::const_iterator> wsmatch;

	}

}
